﻿@{
    var appConfig = (Guline.Web.XjsGame.Models.config)ViewBag.appConfig;
    var iCat1s = (List<Guline.Web.XjsGame.Models.ICat>)ViewBag.iCats;
    var iCats = iCat1s.Where(m => m.ID != 0);
}
<!DOCTYPE html>
<html>
<head>
    <title>@(ViewBag.Title == "" || ViewBag.Title == "Home Page" ? appConfig.tenweb : ViewBag.Title + " | " + appConfig.tenweb)</title>
    <meta http-equiv="content-type" content="text/html" />
    <meta charset="utf-8" />
    <meta name="keywords" content="@appConfig.keywords" />
    <meta name="description" content="@appConfig.description" />
    <meta property="og:type" content="website" />
    <meta property="og:image" content="@Request.Url.ToString()"/>
    <meta property="og:title" content="@ViewBag.Title" />
    <meta property="og:url" content="@Request.Url.ToString()"/>
    <meta property="og:description" content="@appConfig.description" />
    <link rel="Shortcut Icon" href="@Url.Content(appConfig.icon)"/>
    <link href="@Url.Content("~/Content/themes/fb/css/style.css")" rel="stylesheet" />
    <script src="@Url.Content("~/Scripts/jquery-1.7.1.min.js")"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui-1.8.20.js")"></script>
    <link href="@Url.Content("~/Content/themes/base/jquery-ui.css")" rel="stylesheet" />
</head>
<body>
    <div class="body2" style="padding-top:50px;">
       
    </div>
    <div class="clr"></div>
    <div class="topbar">
        <div class="container">
            <div class="logo">
                <a href="@Url.Action("Index", "Home")">
                    <h1>@appConfig.tenweb</h1>
                </a>
            </div>
            <div class="searchbox">
                <ul class="notifymenu">
                
                    @foreach (var cat in iCats)
                    { 
                        <li><a data-catid="@cat.ID" class="" href="@Url.Action("Type", "Content", new { ID = cat.ID,Title=Guline.Web.XjsGame.Infrastructure.Utils.UrlRewriteString(cat.Name) })">@cat.Name</a></li>
                    }
                    <li><a href="#">Diễn đàn</a></li>
                       <li><a target="_blank" href="@appConfig.facepage">Fanpage</a></li>
                </ul>
            </div>
            <div class="topuserpanel">
               @Html.Partial("_LogOnPartial")
            </div>
            <div class="clr"></div>
        </div>
        <div class="clr"></div>
    </div>
    <div class="body" style="margin-top:20px;">
        <div class="body_left">
            <div class="user_box">
                <div class="user">
                     @Html.Partial("_LogOnLeft")
                  
                </div>
                <ul class="suport">

                     <li><a href="#">
                        <img class="ico_li" src="@Url.Content("~/Content/themes/fb/images/messages.png")" width="16" height="16" />Chơi ngay</a></li>

                    <li><a href="#" class="option_li">
                        <img class="ico_li" src="@Url.Content("~/Content/themes/fb/images/newstable.png")" width="16" height="16" />Nạp thẻ</a><div class="clr"></div>
                    </li>
                    
                    <li><a href="#">
                        <img class="ico_li" src="@Url.Content("~/Content/themes/fb/images/messages.png")" width="16" height="16" />Đổi mật khẩu cấp 2</a></li>
                    <li><a href="#">
                        <img class="ico_li" src="@Url.Content("~/Content/themes/fb/images/friend_0.png")" width="16" height="16" />Đổi Email</a></li>
                    <li><a href="#">
                        <img class="ico_li" src="@Url.Content("~/Content/themes/fb/images/friend_0.png")" width="16" height="16" />Đổi mật khẩu</a></li>
                </ul>
            </div>
            <hr class="line_1" />
            <table class="table_save">
                <tr>
                    <td colspan="2" class="title">Danh sách server</td>
                </tr>
                <tr>
                    <td>
                        <img src="@Url.Content("~/Content/themes/fb/images/pic2.png")" /></td>
                    <td>Đại náo 1</td>
                </tr>
            </table>
            <hr class="line_1" />
            <table class="table_save">
                <tr>
                    <td colspan="2" class="title">Top cao thủ</td>
                </tr>
                <tr>
                    <td colspan="2">
                               đang cập nhật
                        </td>
                </tr>
            </table>
              <hr class="line_1" />
            <table class="table_save">
                <tr>
                    <td colspan="2" class="title">Hỗ trợ</td>
                </tr>
                <tr>
                  <td colspan="2">
                      <a href="ymsgr:sendIM?@(appConfig.yahoo1)" style="font-size:12px"><img src="http://opi.yahoo.com/online?u=@(appConfig.yahoo1)&amp;m=g&amp;t=5"> @(appConfig.yahoo1)</a>

                  </td>
                </tr>
              
                 
              
            </table>
            <div class="register">
            </div>
        </div>
        @RenderBody()
        <div class="clr"></div>
    </div>

</body>
</html>
